package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.AlarmPushDto;
import com.hualude.roadsign.dto.PushHistoryDto;

import java.util.List;

public interface PushHistoryService {

    /**
     * @Description: 查询推送
     * @Author: shao-yikun
     * @Date: 2017/10/23 下午9:22
     */
    List<PushHistoryDto> getPushHistoryByOrgIdAndActorId(Integer orgId,
                                                         String actorIds,
                                                         Integer mCount,
                                                         Integer mSize) throws Exception;

    /**
     * @Description: 添加推送
     * @Author: shao-yikun
     * @Date: 2017/10/23 下午9:21
     */
    Integer addPushHistory(PushHistoryDto pushHistoryDto) throws Exception;

    /**
     * @Description: 获取推送信息
     * @author xu_jiaHui
     * @date 2018/4/1 13:34
     */
    List<AlarmPushDto> getAlarmPushHistory(Integer alarmType, String orgIds, String actors, Integer mCount, Integer mSize)throws Exception;

    /**
     * @Description: 获取报错类型的数量
     * @author xu_jiaHui
     * @date 2018/4/3 19:38
     */
     List<AlarmPushDto> getAlarmTypeCount(String limitTime,String orgIds)throws Exception;

    List<PushHistoryDto> getFaultHistoryByOrgIdAndType(Integer orgId, Integer pushType, Integer mCount, Integer mSize)throws Exception;
}
